<include file="Public/mheader" />
<style>
.background{
	width:100%;
	height:100%;
	background:url(__PUBLIC__/__MODULE__/img/index-none.jpg)  no-repeat;
	background-size: cover;
	background-position: 50% 50%;
}
.error-div,.error-body{
	width:100%;
	height:100%;
	overflow:hidden;
	text-align:center;
}
.error-div{
	padding:30px;
}
.error-body{
	overflow-y: scroll;
	color: #000;
	text-shadow: 0 0 1px #ffffff;
	font-size:16px;
}
.error-title{
	font-size:20px;
	margin-bottom:20px;
}
.error{
	font-size:16px;
	margin-bottom:30px;
}
.button>a.btn{
	padding-left:30px;
	padding-right:30px;
}
a,a:focus, a:hover{
	color: #000;
	text-shadow: 0 0 1px #ffffff;
	text-decoration: none;
}
.back{
	position: absolute;
	width:15%;
}
th,td{
	border-color: #555 !important;
	min-width:50px;
}
.gallery-slide{
	height:100%;
	padding-bottom:50px;
}
.swiper-slide{
	max-height:none;
	height:auto;
}
.table{
	margin-bottom: 0;
}
</style>
</style>
<div class="background">
	<div class="back">
		<a  href="javascript:void(0)" data-href='{:U("index")}'><img src="__PUBLIC__/__MODULE__/img/back.png"></a>
	</div>
	<div class="error-div">
		<div class="error-body">
			<div class="error-title">
				选择学校
			</div>
			<div class="swiper-container gallery-slide">
				<div class="swiper-wrapper">
					<div class="swiper-slide">
						<table class="table">
							<foreach name="school" item="vo" >
								<tr>
									<td>{$vo.name}</td>
									<td><a href="javascript:void(0)" data-href='{:U("rank","type=2&school=$vo[id]")}' role="button">进入</a></td>
								</tr>
							</foreach>
						</table>
					</div>
				</div>
				<div class="swiper-scrollbar"></div>
			</div>
		</div>
	</div>
</div>
<script>
$('a[data-href]').on('click',function(){
	location.href=$(this).data('href');
});
			new Swiper('.gallery-slide', {
				scrollbar: '.swiper-scrollbar',
				direction: 'vertical',
				slidesPerView: 'auto',
				mousewheelControl: true,
				freeMode: true
			});
</script>
<include file="public/footer" />